package com.wln.kms.kms.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 
 * 
 * @author wulinna
 * @email 2258732595@qq.com
 * @date 2022-03-10 10:47:57
 */
@Data
@TableName("bargain_order")
public class BargainOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 砍价订单id
	 */
	@TableId
	@JsonSerialize(using = ToStringSerializer.class)
	private Long horderId;
	/**
	 * 活动id
	 */
	private Long activityHid;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 商品名称
	 */
	private String goodsName;
	/**
	 * 商品图片
	 */
	private String goodsImg;
	/**
	 * 收货地址
	 */
	private String horderAdd;
	/**
	 * 商品数量
	 */
	private Integer goodsCount;
	/**
	 * 商品原价
	 */
	private BigDecimal goodsPrice;
	/**
	 * 已砍
	 */
	private BigDecimal horderYprice;
	/**
	 * 应支付价格
	 */
	private BigDecimal horderPrice;
	/**
	 * 订单状态
	 */
	private Integer horderStatus;
	/**
	 * 支付时间
	 */
	private Date payDate;
	/**
	 * 订单创建时间
	 */
	private Date createDate;
	/**
	 * 用户id
	 */
	private Long userId;

}
